import { combineReducers } from 'redux';
import visibilityFilter from './visibilityFilter';
import menu from './menu';
import menus from './menus';
import routers from './routers';
import { reducer as AdminDashboardReducer } from '../component/system/AdminDashboard/store';
import { reducer as WorksReducer } from '../component/system/Works/store';
import { reducer as AppUserReducer } from '../component/system/AppUser/store';
import { reducer as WorkCheckReducer } from '../component/system/WorkCheck/store';
import { reducer as OrderReducer } from '../component/system/Order/store';

const reducers = combineReducers({
    visibilityFilter,
    selMenu: menu,
    menus,
    routers,
    AdminDashboard: AdminDashboardReducer,
    Works: WorksReducer,
    AppUser: AppUserReducer,
    WorkCheck: WorkCheckReducer,
    Order: OrderReducer,
});

export default reducers;